package com.by.sbdemoby.service.impl;

import com.by.sbdemoby.mapper.CardMapper;
import com.by.sbdemoby.pojo.Card;
import com.by.sbdemoby.service.CardService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @auth wzy
 * @date 2023/12/12 11:47
 */
@Service
public class CardServiceImpl implements CardService {

    @Autowired
    private CardMapper cardMapper;

    @Override
    public List<Card> list() {
        return cardMapper.list();
    }
}
